﻿using System;
using System.Web.UI;
using HiTeachers.Services;

namespace HiTeachers.Web.Controls
{
    public partial class Latestnews : UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            rptLatestNews.DataSource = NewServices.GetNews(5, 0);
            rptLatestNews.DataBind();
        }
    }
}